{% extends "relation/base.html" %}
{% block title %}Confirm Friends{% endblock %}
{% block style %}
{% endblock %}	  

{% block content %}
<p><a href="/relation/friends/">All Friends</a></p>

{% for relation in relations %}
<p>
	<a href="/people/{{ relation.from_user.pk}}/">
		<img src="{{ relation.from_user.userprofile.get_avatar_url}}" width="75">{{ relation.from_user.username}}
	</a>&nbsp;&nbsp;
	<a href="/relation/confirm/{{relation.from_user.pk}}/">confirm</a>&nbsp;&nbsp;
	<a href="/relation/cancel/{{relation.from_user.pk}}">cancel</a>
</p>
{%endfor%}

{% endblock %}